package com.hkts.naturalgas.organizational.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2021-04-06
 */
public class HontRole extends Model<HontRole> {

private static final long serialVersionUID=1L;

                            private String id;
        private Integer defaultRole;
        private Integer dataType;
        private String description;
        private LocalDateTime createTime;
        private LocalDateTime updateTime;
        private String createBy;
        private Integer delFlag;
        private String updateBy;
        private Integer level;
        private String name;
        private String roleName;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public Integer getDefaultRole(){
            return defaultRole;
            }

        public void setDefaultRole(Integer defaultRole) {
            this.defaultRole = defaultRole;
            }

    public Integer getDataType(){
            return dataType;
            }

        public void setDataType(Integer dataType) {
            this.dataType = dataType;
            }

    public String getDescription(){
            return description;
            }

        public void setDescription(String description) {
            this.description = description;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public LocalDateTime getUpdateTime(){
            return updateTime;
            }

        public void setUpdateTime(LocalDateTime updateTime) {
            this.updateTime = updateTime;
            }

    public String getCreateBy(){
            return createBy;
            }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
            }

    public Integer getDelFlag(){
            return delFlag;
            }

        public void setDelFlag(Integer delFlag) {
            this.delFlag = delFlag;
            }

    public String getUpdateBy(){
            return updateBy;
            }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
            }

    public Integer getLevel(){
            return level;
            }

        public void setLevel(Integer level) {
            this.level = level;
            }

    public String getName(){
            return name;
            }

        public void setName(String name) {
            this.name = name;
            }

    public String getRoleName(){
            return roleName;
            }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
            }

    public static final String ID ="id";

    public static final String DEFAULT_ROLE ="default_role";

    public static final String DATA_TYPE ="data_type";

    public static final String DESCRIPTION ="description";

    public static final String CREATE_TIME ="create_time";

    public static final String UPDATE_TIME ="update_time";

    public static final String CREATE_BY ="create_by";

    public static final String DEL_FLAG ="del_flag";

    public static final String UPDATE_BY ="update_by";

    public static final String LEVEL ="level";

    public static final String NAME ="name";

    public static final String ROLE_NAME ="role_name";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HontRole{" +
                ", id=" + id +
                ", defaultRole=" + defaultRole +
                ", dataType=" + dataType +
                ", description=" + description +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createBy=" + createBy +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", level=" + level +
                ", name=" + name +
                ", roleName=" + roleName +
        "}";
        }
        }
